<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateAkbusGasYhCheckTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('akbus_gas_yh_check', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('date')->nullable()->comment('月份');
            $table->string('license_plate_num')->nullable()->comment('车牌号');
            $table->decimal('amount', 10, 2)->nullable()->comment('金额');
            $table->decimal('volume', 10, 4)->nullable()->comment('体积');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('akbus_gas_yh_check');
    }
}
